QT += core quick quickcontrols2 serialport network sql
CONFIG += c++11 console

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Refer to the documentation for the
# deprecated API to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

HEADERS += \
    serialQuickCommon/globalobject.h \
    serialQuickCommon/station.h \
    serialQuickDemo/qmlconncpp.h \
    serialQuickCommon/getdata.h \
    serialQuickCommon/setdata.h


SOURCES += \
        serialQuickDemo/main.cpp \
    serialQuickCommon/globalobject.cpp \
    serialQuickCommon/station.cpp \
    serialQuickCommon/getdata.cpp \
    serialQuickCommon/setdata.cpp

RESOURCES += \
    serialQuickDemo/gallery.qml \
    serialQuickDemo/qtquickcontrols2.conf \
    icons/gallery/index.theme \
    $$files(icons/*.png,true) \
    $$files(serialQuickDemo/images/*.png) \
    $$files(serialQuickDemo/pages/*.qml)
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =

# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target


include(moolink/sqliteRW/sqliteRW.pri)
include(moolink/JSON/json.pri)
include(moolink/TcpThread/TcpThread.pri)
include(moolink/HJ212/hj212.pri)
include(moolink/SerialThread/SerialThread.pri)
include(moolink/RunTimer/RunTimer.pri)
include(moolink/Protocol/Protocol.pri)
include(moolink/CheckUpdate/CheckUpdate.pri)
